import request from '../index'

/**
 * @author xiaoYu
 * @date 
 * name: 商品名称
 * supplier: 供应商
 * upDate: 预计到货时间
 * amount: 付款金额
 * status: 采购单状态 
 */

export function purchasingList () {
    return new Promise((resolve, reject) => {
        const url = '/purchasingOrder'
        request.get({ url }).then(res => {
            return resolve(res)
        })
        .catch(err => {
            reject(err)
        })
    })
}